-
Notifications
You must be signed in to change notification settings - Fork 1k
variant(f4): add the DISCO_F411VE (STM32F411E-DISCO) board #2805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d2ae5f7
to
24fc105
Compare
I also do not know where to grab the pinout definitions for the specific board. The guide I am using does not specify how to add a specific board, it cuts off after adding the generic board. |
Hi @otac0n
No, generic have to use the internal clock only. If user wants to use HSE then he have to redefine the system core clock config at sketch level.
Well in general at least the Arduino connector have top be properly defined D0-D15 and A0-A5 but this Disco has no Arduino connector so you can simply defined them following each connector. /* P1 connector right side */
#define PC1 0
#define PC3 2
...
/* P1 connector left side */
#define PC1 19 Or /* P1 connector */
#define PC1 0
#define PC3 1
... You can refer to this one as example: So you have to create the variant_DISCO_F411VE.* |
32f041a
to
5a50ba7
Compare
So, I have
That puts it on par with the DISCO_F407VG. Let me know what steps can be taken to validate these files on hardware. |
You can use this examples to check if the pin mapping is correct: |
I had to order a USB Serial connector to test this out. Using the generic variant I get this:
Edit: Fixed that. Now it just locks up due to bad clock config? I will say that I had trouble following step 1 here: https://github.com/stm32duino/Arduino_Core_STM32/wiki/Using-git-repository |
0942d2a
to
d2412a1
Compare
OK, with a change to
I believe this to be ready, but I would appreciate a critical look-over as this is my first Arduino board. |
Yesterday, I've made a review and force push on your branch to fix all the issue you made 😉 |
Will end review this morning. |
Signed-off-by: John Gietzen <[email protected]>
You can simply connect the default Serial to the STLink. SB10 and SB11 not fitted on the board,if you add SB then you will have the VCP functional. |
I've pushed some updates on your branch. |
Summary
Adds the STM32F411E-DISCO board.
Fixes #2808
I have the board and would like to use it along with SimpleFOC, an Arduino library.
Validation
I could use some advice on validating this, as I was using PlatformIO to work with my board previously.